package org.zfes.snowier.zbss.xzy.mo.dtos;

import java.io.Serializable;

public class MoDataMsg implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private MoDataType type;
	private Object data;
	
	public MoDataMsg() {
		super();
	}
	public MoDataMsg(MoDataType type, Object data) {
		super();
		this.type = type;
		this.data = data;
	}
	
	public MoDataType getType() {
		return type;
	}
	public void setType(MoDataType type) {
		this.type = type;
	}
	public Object getData() {
		return data;
	}
	public MoDataMsg setData(Object data) {
		this.data = data;
		return this;
	}
	@Override
	public String toString() {
		return "MoDataMsg [type=" + type + ", data=" + data + "]";
	}
	
}
